
<center>
<table border="0" cellpadding="3">
            	<tr>
                	<td>
                         <b>
							  <?php
                              if($_REQUEST['er']==2) {
                              echo '<b style="color:red;">Invalid Username</b>';
                              } elseif($_REQUEST['er']==1) {
                              echo '<b style="color:red;">Invalid Password</b>';
                              }
                              ?>
                         </b>
                    	<!-- login form-->						
                          <form name="login" action="loginprocess.php" method="post">
                            <table border="0" cellspacing="5" cellpadding="0" id="loginbox">                           
                            	<tr id="loginboxtitle">
                                	<td colspan="4" style="color:#000;"><h4>WELCOME, PLEASE SIGN IN</h4></td>
                                </tr>
                                <tr>
                                	<td colspan="4"></td>
                                </tr>                                
                                <tr>
                               		<td></td>
                                    <td><strong>Username</strong></td>
									<td>:</td>
										<td class="login-textbox-bg" valign="bottom" height="30" align="left">
											<input class="login-textbox" type="text" onkeypress="return disableEnterKey(event)" onblur="if(this.value =='')(this.value = 'Username')" onclick="if(this.value =='Username')(this.value = '')" value="Username" name="username">
										</td>

<!--                                     <td><input type="text" name="username" size="20" class="textBox"></td>                                    
 -->                                </tr>
                                <tr>
                                	<td></td>
                                    <td><strong>Password</strong></td>
									<td>:</td>
											<td class="login-textbox-bg" valign="middle" align="left">
												<input class="login-textbox" type="password" value="123456789" onblur="if(this.value =='')(this.value = '123456789')" onclick="if(this.value =='123456789')(this.value = '')" onkeydown="LoginAtKeyEnter(event)" onkeypress="return disableEnterKey(event)" onfocus="if(this.value =='123456789')(this.value = '')" name="password">
											</td>
<!--                                     <td><input type="password" name="password" size="20" class="textBox" size="20"></td>
 -->                                 </tr>
								

                                <!--<tr>
								<td></td>
									<td><strong>Select UserType</strong></td>
									<td>:</td>
									<td><select align="center" name="usertype">									
									<option value="3">USER</option>
                                    <option value="1">EXPERT</option>
									<option value="2">VENDOR</option>									
									</select>
									</td>
									</tr>-->	
									
                                    <tr>
									<td></td>
                                    <td colspan="4" id="subbutton">                                   
                                    <input type="submit" name="Submit" value="Submit" onClick="return validate();" class="sub-butt"/></td>
                                    
                                </tr>				
                               
                            </table>
                        </form>
                        <!--end form-->
                    </td>                    
                </tr>                
            </table>
			</center>
            <br />